package com.hqyj.finance.server.bill.financebill.client;

import com.hqyj.finance.server.bill.financebill.json.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "user-service")
public interface UserClient {

    @GetMapping("/profile")
    public R queryUserInfoByUid(@RequestParam("uid") Integer uid);
}
